package com.ydy.common.model;

import java.io.Serializable;
import java.util.Date;

public class SysLog implements Serializable {

    private Integer id;

    private String logCode;

    private String userCode;

    private String userName;

    private String os;

    private String browser;

    private String ip;

    private Date createTime;

    private String url;

    private String header;

    private String params;

    public SysLog() {
    }

    public SysLog(String logCode, String userCode, String userName, String os, String browser,
                  String ip, Date createTime, String url, String header, String params) {
        this.logCode = logCode;
        this.userCode = userCode;
        this.userName = userName;
        this.os = os;
        this.browser = browser;
        this.ip = ip;
        this.createTime = createTime;
        this.url = url;
        this.header = header;
        this.params = params;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLogCode() {
        return logCode;
    }

    public void setLogCode(String logCode) {
        this.logCode = logCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return "SysLog{" +
                "id=" + id +
                ", logCode='" + logCode + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", os='" + os + '\'' +
                ", browser='" + browser + '\'' +
                ", ip='" + ip + '\'' +
                ", createTime=" + createTime +
                ", url='" + url + '\'' +
                ", header='" + header + '\'' +
                ", params='" + params + '\'' +
                '}';
    }
}
